package saxion.speelveld.spaceengineer.buildings;

import saxion.speelveld.spaceengineer.R;
import saxion.speelveld.spaceengineer.model.ProducingBuilding;
import saxion.speelveld.spaceengineer.model.Resource;
import saxion.speelveld.spaceengineer.model.ResourceType;

public class ResearchLab extends ProducingBuilding
{

	public ResearchLab()
	{
		super(3, 2);
		super.setBuildingName(ResearchLab.this.getClass().getSimpleName());
		super
			.setBuildingExplanation("the Research lab generates Science Points which you need for particular buildings and some upgrades");
		super.resourceCosts.add(new Resource(ResourceType.MONEY, 750));
		super.resourceCosts.add(new Resource(ResourceType.ELECTRICITY, 35));
		super.resourceCosts.add(new Resource(ResourceType.WATER, 125));
		super.resourceCosts.add(new Resource(ResourceType.GLASS, 200));
		super.resourceCosts.add(new Resource(ResourceType.METAL, 100));

		super.addResourceProduceGain(new Resource(ResourceType.SCIENCEPOINTS, 2, true));

		// Mitchell's idee
		// super.setResourcesProduced(ResourceType.SCIENCEPOINTS);
		// super.setProductioncapacity(2);

		super.resourceImages = new int[6];
		super.resourceImages[0] = R.drawable.researchlab_0;
		super.resourceImages[1] = R.drawable.researchlab_1;
		super.resourceImages[2] = R.drawable.researchlab_2;
		super.resourceImages[3] = R.drawable.researchlab_3;
		super.resourceImages[4] = R.drawable.researchlab_4;
		super.resourceImages[5] = R.drawable.researchlab_5;
		super.setPreviewResourceImageId(R.drawable.researchlab);
	}

	// @Override
	// public int produceGoods()
	// {
	// return 0;
	// }

}
